<?php


namespace App\Enums;

//礼物操作类型
use phpDocumentor\Reflection\Types\Self_;

class GiftOpTypeEnum
{
    //套装类礼物
    const BLIND_BOX = 1; //盲盒
    const LIMITED = 2; //限定
    const SUIT = [
        self::BLIND_BOX => ['id' => self::BLIND_BOX, 'name' => '盲盒'],
        self::LIMITED => ['id' => self::LIMITED, 'name' => '限定'],
    ];

    //互动礼物
    const IT_SOLO = 4; //单人
    const IT_ALL = 5; //全麦
    const INTERACTION = [
        self::IT_SOLO => ['id' => self::IT_SOLO, 'name' => '单人'],
        self::IT_ALL => ['id' => self::IT_ALL, 'name' => '全麦'],
    ];

    //魔法礼物
    const BARRAGE = 6; //弹幕
    const SYSTEM_BROADCAST = 7; //全服广播
    const DRESS_UP = 8; //佩戴装扮，如挂件，头像等，送出成功给主播佩戴
    const OFF_MICROPHONE = 9; //请你闭麦
    const SQUID = 10; //乌贼
    const BROKEN_SCREEN = 11; //碎屏
    const MAGIC = [
        self::BARRAGE => ['id' => self::BARRAGE, 'name' => '弹幕'],
        self::SYSTEM_BROADCAST => ['id' => self::SYSTEM_BROADCAST, 'name' => '全服广播'],
        self::DRESS_UP => ['id' => self::DRESS_UP, 'name' => '佩戴装扮'],
        self::OFF_MICROPHONE => ['id' => self::OFF_MICROPHONE, 'name' => '请你闭麦'],
        self::SQUID => ['id' => self::SQUID, 'name' => '乌贼'],
        self::BROKEN_SCREEN => ['id' => self::BROKEN_SCREEN, 'name' => '碎屏'],
    ];

    //人脉礼物
    const CP = 20; //cp
    const STUDENT = 21; //师徒
    const FRIEND = 22; //密友
    const STUDENT_EXT_CARD = 23; //师徒扩展卡
    const FRIEND_EXT_CARD = 24; //密友扩展卡
    const CONNECT = [
        self::CP => ['id' => self::CP, 'name' => 'CP'],
        self::STUDENT => ['id' => self::STUDENT, 'name' => '师徒'],
        self::FRIEND => ['id' => self::FRIEND, 'name' => '密友'],
        self::STUDENT_EXT_CARD => ['id' => self::STUDENT_EXT_CARD, 'name' => '师徒扩展卡'],
        self::FRIEND_EXT_CARD => ['id' => self::FRIEND_EXT_CARD, 'name' => '密友扩展卡'],
    ];
}